/* 
 * @author Mabel Xu
 */

import info.gridworld.actor.ActorWorld;
import info.gridworld.grid.Location;

import java.awt.Color;

/**
 * This class runs a world that contains dancing bugs. <br />
 */
public class DancingBugRunner
{
    /**
     * @param args
     */
    public static void main(String[] args)
    {
    	ActorWorld world = new ActorWorld();
    	int[] a = {4, 2, 6, 4, 2, 500, 32, 16, 50, 9, 23, 42};
        DancingBug alpha = new DancingBug(a);
        alpha.setColor(Color.ORANGE);
        int[] b = {3, 5, 2, 7, 3, 11, 7, 2, 28, 46, 71};
        DancingBug beta = new DancingBug(b);
        world.add(new Location(7, 8), alpha);
        world.add(new Location(5, 5), beta);
        world.show();
    }
}